var bodyParser = require('body-parser')
var urlencodedParser = bodyParser.urlencoded({
    extended: false
})
var express = require('express')
var db = require('../bd.js')
var router = express.Router()

// 获取用户信息
router.get('/getSlider', async function (req, res) {
    var sql = `select * from slider `
    const r = await db.doSQL(sql)
    res.send(db.postInFo(r))
})


module.exports = router;